package com.lanchetech.admin.service;


import com.lanchetech.bean.request.BlogPageReq;
import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.request.TagCategoryPageReq;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.vo.BlogDetailVO;
import com.lanchetech.bean.vo.BlogVO;
import com.lanchetech.entity.TagCategory;

import java.util.List;

public interface BlogService {
    BaseResp auditBlog(Long id, Byte auditStatus,String remark);

    ResultData<BasePageResp<BlogVO>> getBlogPage(BlogPageReq req);

    BaseResp auditTagCategory(TagCategory req);

    ResultData<BasePageResp<TagCategory>> getTagCategoryPage(TagCategoryPageReq req);

    BaseResp deleteTagCategory(Long id);

    ResultData<TagCategory> getTagCategoryDetail(Long id);

    ResultData<List<TagCategory>> getTagCategoryList(TagCategory req);

    ResultData<BlogDetailVO> getBlogDetail(Long id);
}
